package com.woniuxy.entity.house.dto;


import com.woniuxy.entity.house.Comments;
import com.woniuxy.entity.house.HouseType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 楼盘展示信息
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BuildingInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;
    //楼盘id
    private Integer id;
    //楼盘名
    private String buildingName;
    //均价
    private BigDecimal avgPrice;
    //楼盘类型
    private String propertyType;
    //楼盘地址
    private String buildingAddress;
    //楼盘户型
    private List<HouseType> houseTypeList;
    //楼盘推荐经纪人(默认为第一个参与评论的经纪人)
    private List<Comments> commentsList;
}
